home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / golden_glove.swf / scripts / DefineButton2_643 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2007-03-15  |  336 b   |  17 lines

  1. on(release){
  2.    if(_root.partytime < 4)
  3.    {
  4.       if(_root.days >= 4)
  5.       {
  6.          _root.partytime = _root.partytime + 1;
  7.          _root.days -= 3;
  8.          if(_root.yourpower < 9)
  9.          {
  10.             _root.yourpower += 2;
  11.          }
  12.          _root.yourcondition--;
  13.          _root.gotoAndStop(4);
  14.       }
  15.    }
  16. }
  17.